#!/bin/sh
/etc/init.d/mysql stop
rm -rf /home/cuizheng/mysql/*
sync
cp /home/admin/data /home/cuizheng/mysql/
sync
/etc/init.d/mysql start

ruby /home/cuizheng/controller/mysql.rb
